﻿<!DOCTYPE html>

<html lang="zh-cn" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title>SaeaSdkTest</title>
</head>
<body>
    <h3>
        controller 列表及其方法测试
    </h3>
    <div id="container">

    </div>
    <script src="Content/js/SaeaApiSdk.js"></script>
    <script type="text/javascript">

        var sdk = new SaeaApiSdk("http://127.0.0.1:28080/");

        sdk.request({
            url: "/api/SaeaSdkTest/GetList",
            type: 'get',
            timeout: 3000,
            success: function (data) {
                document.getElementById("container").innerHTML = data;
            },
            //异常处理
            error: function (e) {
                error(e);
            }
        });
    </script>
</body>
</html>